package com.cyj.common.job.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;

/**
 * @Description: xx-job配置
 * @BelongsProject: DreamChardonnay
 * @BelongsPackage: com.cyj.common.job.properties
 * @Author: ChenYongJia
 * @CreateTime: 2021-09-27 10:47
 * @Email: chen87647213@163.com
 * @Version: 1.0
 */
@Data
@ConfigurationProperties(prefix = "xxl.job")
public class XxlJobProperties {

    @NestedConfigurationProperty
    private XxlAdminProperties admin = new XxlAdminProperties();

    @NestedConfigurationProperty
    private XxlExecutorProperties executor = new XxlExecutorProperties();

}
